package cn.edu.gduf.luowowo.flight.service;

import cn.edu.gduf.luowowo.flight.domain.FlightOrder;

import java.util.List;

/**
 * 机票订单服务
 */
public interface IFlightOrderService {
    /**
     * 生成机票订单或修改机票订单
     * @param order
     */
    void generateOrModifyOrder(FlightOrder order);

    /**
     *
     * @param userId
     * @return
     */
    List<FlightOrder> getFlightOrdersByUserId(Long userId);
}
